package tech.lq0.dreamaticvoyage.init;

import net.minecraft.world.item.crafting.RecipeSerializer;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;
import tech.lq0.dreamaticvoyage.Utils;
import tech.lq0.dreamaticvoyage.recipe.*;

@SuppressWarnings("unused")
public class RecipeRegistry {

    public static final DeferredRegister<RecipeSerializer<?>> RECIPE_SERIALIZERS = DeferredRegister.create(ForgeRegistries.RECIPE_SERIALIZERS, Utils.MOD_ID);

    public static final RegistryObject<RecipeSerializer<FukamizuCompressingRecipe>> FUKAMIZU_COMPRESSING_SERIALIZER =
            RECIPE_SERIALIZERS.register(FukamizuCompressingRecipe.Type.ID, () -> FukamizuCompressingRecipe.Serializer.INSTANCE);
    public static final RegistryObject<RecipeSerializer<FukamizuCrushingRecipe>> FUKAMIZU_CRUSHING_SERIALIZER =
            RECIPE_SERIALIZERS.register(FukamizuCrushingRecipe.Type.ID, () -> FukamizuCrushingRecipe.Serializer.INSTANCE);
    public static final RegistryObject<RecipeSerializer<CrystalPurifyingRecipe>> CRYSTAL_PURIFYING_SERIALIZER =
            RECIPE_SERIALIZERS.register(CrystalPurifyingRecipe.Type.ID, () -> CrystalPurifyingRecipe.Serializer.INSTANCE);
    public static final RegistryObject<RecipeSerializer<CrystalCuttingRecipe>> CRYSTAL_CUTTING_SERIALIZER =
            RECIPE_SERIALIZERS.register(CrystalCuttingRecipe.Type.ID, () -> CrystalCuttingRecipe.Serializer.INSTANCE);
    public static final RegistryObject<RecipeSerializer<FukamizuReactingRecipe>> FUKAMIZU_REACTING_SERIALIZER =
            RECIPE_SERIALIZERS.register(FukamizuReactingRecipe.Type.ID, () -> FukamizuReactingRecipe.Serializer.INSTANCE);
    public static final RegistryObject<RecipeSerializer<FukamizuFermentingRecipe>> FUKAMIZU_FERMENTING_SERIALIZER =
            RECIPE_SERIALIZERS.register(FukamizuFermentingRecipe.Type.ID, () -> FukamizuFermentingRecipe.Serializer.INSTANCE);
}
